aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/thematique/[slug].tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/thematique/[slug].tsx')
-rw-r--r--src/pages/thematique/[slug].tsx26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index b7d97a3..7712fff 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -4,37 +4,35 @@ import { useRouter } from 'next/router';
import Script from 'next/script';
import { ParsedUrlQuery } from 'querystring';
import { useIntl } from 'react-intl';
-import Heading from '../../components/atoms/headings/heading';
-import PostsList from '../../components/organisms/layout/posts-list';
-import LinksListWidget from '../../components/organisms/widgets/links-list-widget';
-import { getLayout } from '../../components/templates/layout/layout';
-import PageLayout, {
+import {
+ getLayout,
+ Heading,
+ LinksListWidget,
+ PageLayout,
type PageLayoutProps,
-} from '../../components/templates/page/page-layout';
+ PostsList,
+} from '../../components';
import {
getAllThematicsSlugs,
getThematicBySlug,
getThematicsPreview,
getTotalThematics,
-} from '../../services/graphql/thematics';
+} from '../../services/graphql';
import {
type NextPageWithLayout,
type PageLink,
type Thematic,
-} from '../../types/app';
-import { loadTranslation, type Messages } from '../../utils/helpers/i18n';
+} from '../../types';
import {
getLinksListItems,
getPageLinkFromRawData,
getPostsWithUrl,
-} from '../../utils/helpers/pages';
-import {
getSchemaJson,
getSinglePageSchema,
getWebPageSchema,
-} from '../../utils/helpers/schema-org';
-import useBreadcrumb from '../../utils/hooks/use-breadcrumb';
-import useSettings from '../../utils/hooks/use-settings';
+} from '../../utils/helpers';
+import { loadTranslation, type Messages } from '../../utils/helpers/server';
+import { useBreadcrumb, useSettings } from '../../utils/hooks';
export type ThematicPageProps = {
currentThematic: Thematic;